package com.qujia.station.service;

import com.qujia.station.domain.Repositories;

import java.util.List;

public interface RepositoryService{

    /**
     * 新增仓库
     * */
    int saveRepository(Repositories repositories);

    /**
     * 查询仓库列表
     * */
    List<Repositories> selectRepositoryList(Repositories repositories);

    /**
     * 查询单个仓库
     * */
    Repositories selectOneRepository(Repositories repositories);

    /**
     * 修改仓库信息
     * */
    int updateRepository(Repositories repositories);

    /**
     * 删除仓库信息
     * */
    void deleteRepository(List<Long> stationIdList);
}
